/* 可选的标题专用字体，若未提供文件将回退到系统字体 */
@font-face{
    font-family: 'MiaoTitle';
    src: url('/fonts/MiaoTitle.woff2') format('woff2');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

.homePage :global(.adm-result-page-description){
    margin-bottom: 0;
    text-align: start;
    color: #fff;
    font-size: 16.4208;
}
.homePage :global(.adm-result-page-header){
    align-items: start;
    display: block;
    padding: 8.445;
}
.homePage :global(.adm-result-page-description){
    font-size: 20px;
}

/* 动态调整蓝色背景高度 */
.homePage :global(.adm-result-page-header) {
    transition: min-height 0.3s ease-in-out;
}
.homePage{
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}
/* remove unintended global fixed header override that broke layout */
.head{
    background-color: #1e6fff;
    padding: 20px;
}
.head{
    position: sticky;
    top: 0;
    z-index: 1000;
}
.head,
.head *{
    transition: all 0.25s ease;
}
.headCompact{
    padding: 10px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.headTit{
    display: flex;
    justify-content: space-between;
}
.headRow{
    display: flex;
    align-items: center;
    gap: 10px;
}
.headRow .iconsearch{
    flex: 1;
}
.iconsearch{
    display: flex;
    text-align: center;
    align-items: center;
    border-radius: 4px;
    margin-top: 10px;
    background-color: #4588ff;
}
.headCompact .iconsearch{ margin-top: 0; }
.headCompact .headTitle{ opacity: 0; max-height: 0; }
.iconsearch input{
    font-size: 14px;
    /* padding-left: 5px; */
}
.icon{
    margin: 10px;
}
.headTit{
    display: flex;
    justify-content: space-between;
}
.headTitles{
    font-size: 14px;
    color: #fff;
}
.headTitles::after{
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #fff;
    vertical-align: middle;
}
.headTitle{
    font-size: 18px;
    color: #fff;
}
.headTitle b{
    font-family: 'MiaoTitle', 'Alibaba PuHuiTi Heavy', 'HarmonyOS Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
}
.indexsearch{
    width: 90vw;
    display: flex;
    justify-content: center;
    background-color:#cdd6e6;
    background: rgba(0, 0, 0, 0.5);
    margin: 15px 0 0 0;
    color: #72a5ff;
}
:global(.adm-search-bar-input-box){
    background-color: #4588ff;
    z-index: 999;
}
.card{
    display: flex;
    font-size: 24px;
    justify-content: center;
}
.headCard{
    margin-bottom: 20px;
    background: rgba(173, 193, 228, 0.5);
}
.noticebar{
    height: 20px;
}
.cardBox1{
    border-radius: 8px;
    border: solid 1px #e8e8e8;
    padding: 10px;
    margin: 5px;
}
.span_title{
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    align-items: center;
    margin-top: -7px;
}
.span_content{
    font-size: 12px;
    text-align: center;
    color: #ccc;
    font-weight: 200;
    padding-top: 8px;
}
.capsuleTabs{
    font-size: 13px;
    padding-bottom: 2px;
}
/* 缩小 CapsuleTabs 的整体尺寸，仅影响首页此处 */
.capsuleTabs :global(.adm-capsule-tabs-header){
    padding: 6px 8px;
}
.capsuleTabs :global(.adm-capsule-tabs-tab-list){
    gap: 8px;
}
.capsuleTabs :global(.adm-capsule-tabs-tab){
    padding: 6px 10px;
    font-size: 13px;
    line-height: 18px;
    border-radius: 18px;
}
.capsuleTabs :global(.adm-capsule-tabs-tab-active){
    font-size: 13px;
}
:global(.adm-list-item-content){
    align-items:normal
}
.card_sp{
    display: flex;
    padding: 10px;
    text-align: center;
    align-items: center;
}
.card_sp span{
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card_sp p{
    /* width:38px; */
    font-size: 10px;
  
}

/* doctor list styles */
.doctorCard{
    padding: 12px 0;
}
.avatar{
    border-radius: 50%;
}
.titleRow{
    display: flex;
    align-items: center;
    gap: 8px;
}
.name{
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.desc{
    margin-top: 4px;
}
.meta{
    display: flex;
    align-items: center;
    gap: 6px;
}
.hospitalLine{
    margin-top: 4px;
    color: #666;
    font-size: 12px;
    line-height: 1.2;
}
.badgePrimary{
    /* color: #00b578;
    border: 1px solid #00b578; */
    border-radius: 3px;
    padding: 0 4px;
    font-size: 12px;
}
.badgeLevel{
    color: #fff;
    background-color: #00b578;
    border: 1px solid #00b578;
    border-radius: 3px;
    padding: 0 4px;
    font-size: 12px;
}
.hospital{
    color: #888;
    font-size: 12px;
}
.tags{
    margin-top: 6px;
    display: flex;
    gap: 8px;
    white-space: nowrap;
}
.tag{
    font-size: 11px;
    color: #555;
    background: #f5f5f5;
    border-radius: 12px;
    padding: 2px 8px;
}
.expert{
    margin-top: 6px;
    color: #666;
    font-size: 12px;
    line-height: 1.2;
}
.stats{
    margin-top: 6px;
    color: #999;
    font-size: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}
.statDot{ color:#ddd; }

.doctorRight{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.priceBox{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
}
.priceSymbol{ color:#ff4d4f; font-size: 12px; }
.priceNumber{ color:#ff4d4f; font-size: 18px; font-weight: 700; margin: 0 2px; }
.priceUnit{ color:#999; font-size: 12px; }

/* make price + button bottom and space-between */
.haoping{
    color:#ff4d4f;
     font-size: 12px; 
}
.bottomRow{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}
.bottomRow .priceBox, .bottomRow .priceNumber{
    white-space: nowrap;
}
.bottomRow :global(.adm-button){
    white-space: nowrap;
    height: 30px;
    line-height: 30px;
    padding: 0 14px;
    min-width: 72px;
    border-radius: 6px;
}
.more{
    text-align: center;
    align-items: center;
    color: #1677ff;
    font-size: 14px;
    width: 100%;
    height: 20px;
    line-height: 20px;
    display: flex;
    justify-content: center;
    justify-items: center;
    padding-bottom: 15px;
}

/* 药品列表样式 */
.yaos{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    /* justify-content: space-between; */
    /* margin: 5px 20px 0 10px; */
}
.yao img{
    width: 45vw;
    height: 25vh;
    padding: 5px 5px 5px 5px;
}
.OTCp span{
    height: 20px;
    background-color: #00b578;
    color: #fff;
    font-size: 12px;
    padding: 2px 4px 2px 4px;
    margin-right: 5px;
}
.OTCp p{
    font-size: 16px;
}
.price{
    color: #ff4d4f;
    font-size: 15px;
    font-weight: 600;
}
/* 为你推荐样式 */
.recommend h3{
    font-size: 17px;
    margin: 8px;
}
.recommendHeader{
    margin: 8px;
    border-radius: 10px;
    overflow: hidden;
}
.recommendHeaderImg{
    width: 100%;
    height: 28vh;
    object-fit: cover;
    display: block;
}
.recommendList{

}
.itemlist{

}
.itemimg{
    display: flex;
    align-items: center;
}
.itemimg img{
    width: 40px;
    height: 40px;
}
.itemright{
    margin: 5px;
}
.spanstyle{
    background-color: #00b578;
    color: #fff;
    font-size: 10px;
    margin:5px 5px 5px 0;
    text-align: center;
    /* align-items: center; */
    border-radius: 3px;
    padding: 3px;
    margin-bottom: 3px;
}
.spanstyles{
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    align-self: start;
}
.itemtext{
    margin: 15px 0 15px 0;
    align-items: center;
}
.textlist{
    font-size: 13px;
    height: 70px;
    width: 100%;
    padding-top: 20px;
    color: #7c7a7a;
}
.itemTextImg{
    display: flex;
    margin: 10px;
    background-color: #fdfafa;
}
.itemTextImg img{
    width: 80px;
    height: 40px;
    border-radius: 4px;
}
.item_title{
    font-size: 10px;
    color: #afadad;
}